package com.graduation.dao;

import com.graduation.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserDao {
    Integer userRegister(User user);
    Integer isExitsUser(String email);
    Integer loginSystem(@Param("email") String email, @Param("password") String password);
    User findUserById(String email);
    Integer updateUserBaseInfo(User user);
    User findUserAddrAndName(String email);
}
